package com.hundsun.cprs.yyt.service.common.dto;

public class FundOpenStatus {
    
    /**
     * 资金状态
     */
    private String status;
    
    /**
     * 签约状态
     */
    private String signStatus;
    

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(String signStatus) {
        this.signStatus = signStatus;
    }
    
    
    /**
     * 是否签约中
     * @return
     */
    public boolean isSigning(){
        return "P".equals(status) && "1".equals(signStatus);
    }
    
    /**
     * 是否未开户
     * @return
     */
    public boolean isUnOpen(){
        return "P".equals(status) && "0".equals(signStatus);
    }
    
    /**
     * 是否已开户
     * @return
     */
    public boolean isOpened(){
        return "P".equals(status)?false:true;
    }
}
